package com.jingdianjichi.subject.convert;

import com.jingdianjichi.subject.entity.SubjectLabelBO;
import com.jingdianjichi.subject.infra.basic.entity.SubjectLabel;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author 董代恒
 * @version 1.0
 */
@Mapper
public interface SubjecLabelConvert {

    SubjecLabelConvert INSTANCE = Mappers.getMapper(SubjecLabelConvert.class);


    SubjectLabel subjectLabelBOToSubjectLabel(SubjectLabelBO subjectLabel);

    List<SubjectLabelBO> convertLabelToBoList(List<SubjectLabel> subjectLabelList);
}
